#ifndef SQUARE_H_
#define SQUARE_H_


class Range;

class Square 
{

public:
    Square(const double side_i);
    ~Square(){}
    
    double calcArea() const;
    double calcPerimeter() const;

    void setSide(const double side_i);

private:
    double side_m;
    static Range* sideRange_m;   

    bool isValid() const;

};


#endif /* SQUARE_H_ */

